/**
 * 
 */
package galacticthrone.screen.map;

import galacticthrone.main.GTGame;
import javagame.core.main.GameState;

// TODO Javadoc
/**
 * <br>
 *
 * @author Jaco van der Westhuizen
 */
public class MapState extends GameState
{
    public MapState()
    {
        super(new MapScreen());
    }

    /* (non-Javadoc)
     * @see javagame.core.main.game.GameState#onEnter(javagame.core.main.game.GameState)
     */
    @Override
    public void onEnter(GameState prevGameState)
    {
        super.onEnter(prevGameState);
        
		((MapScreen)this.screen).setMap(GTGame.getGameMap());
    }
}
